From e7e16fef9d61b623f91e909f458f8d9de7b9c72b Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 9 Aug 2006 10:13:37 +0100 Subject: [PATCH] Fix the unit test to match the new way of allocating VNC ports. Signed-off-by: Ewan Mellor --- tools/python/xen/xm/tests/test_create.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/python/xen/xm/tests/test_create.py b/tools/python/xen/xm/tests/test_create.py index 2aa13549bc..c3b68a00d3 100644 --- a/tools/python/xen/xm/tests/test_create.py +++ b/tools/python/xen/xm/tests/test_create.py @@ -179,7 +179,8 @@ ne2000=0 'extra' : ('VNC_VIEWER=%s:%d ' % (xen.xm.create.get_host_addr(), - xen.xm.create.VNC_BASE_PORT + 1)), + xen.xm.create.VNC_BASE_PORT + + xen.xm.create.choose_vnc_display())), 'vnc' : 1, 'vncviewer' : 1, -- 2.30.2